You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Lewis Choo Man (JIRA)" <ji...@apache.org> on 2007/04/03 06:43:32 UTC

[jira] Created: (FILEUPLOAD-132) How do we retrieve the HTTP Headers in the request?

How do we retrieve the HTTP Headers in the request?
---------------------------------------------------

                 Key: FILEUPLOAD-132
                 URL: https://issues.apache.org/jira/browse/FILEUPLOAD-132
             Project: Commons FileUpload
          Issue Type: Wish
    Affects Versions: 1.2
         Environment: Open Suse 10.1
            Reporter: Lewis Choo Man


I would like to retrieve the HTTP request headers from the org.apache.commons.fileupload.FileUpload class, while still being able to save any file that is embedded in the HTTP body. Is there a public method to do so?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


[jira] Commented: (FILEUPLOAD-132) How do we retrieve the HTTP Headers in the request?

Posted by "Lewis Choo Man (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FILEUPLOAD-132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12489297 ] 

Lewis Choo Man commented on FILEUPLOAD-132:
-------------------------------------------

Thanks the the tip!

I needed the former and retrieving the request headers from the HttpServletRequest object works!

> How do we retrieve the HTTP Headers in the request?
> ---------------------------------------------------
>
>                 Key: FILEUPLOAD-132
>                 URL: https://issues.apache.org/jira/browse/FILEUPLOAD-132
>             Project: Commons FileUpload
>          Issue Type: Wish
>    Affects Versions: 1.2
>         Environment: Open Suse 10.1
>            Reporter: Lewis Choo Man
>
> I would like to retrieve the HTTP request headers from the org.apache.commons.fileupload.FileUpload class, while still being able to save any file that is embedded in the HTTP body. Is there a public method to do so?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


[jira] Resolved: (FILEUPLOAD-132) How do we retrieve the HTTP Headers in the request?

Posted by "Jochen Wiedmann (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FILEUPLOAD-132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jochen Wiedmann resolved FILEUPLOAD-132.
----------------------------------------

    Resolution: Fixed

I understand that you want the global HTTP request headers, as opposed to the per-file headers?

If it is indeed the former, then you simply have to query the HttpServletRequest object, which you supplied yourself when creating the ServletFileUpload object.

If it should be the latter, then your issue is a duplicate of FILEUPLOAD-130 which has already been resolved.


> How do we retrieve the HTTP Headers in the request?
> ---------------------------------------------------
>
>                 Key: FILEUPLOAD-132
>                 URL: https://issues.apache.org/jira/browse/FILEUPLOAD-132
>             Project: Commons FileUpload
>          Issue Type: Wish
>    Affects Versions: 1.2
>         Environment: Open Suse 10.1
>            Reporter: Lewis Choo Man
>
> I would like to retrieve the HTTP request headers from the org.apache.commons.fileupload.FileUpload class, while still being able to save any file that is embedded in the HTTP body. Is there a public method to do so?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org