You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Shazron Abdullah (Created) (JIRA)" <ji...@apache.org> on 2012/02/07 00:33:00 UTC

[jira] [Created] (CB-236) CLONE - Add ContentLength Header in Upload request

CLONE - Add ContentLength Header in Upload request
--------------------------------------------------

                 Key: CB-236
                 URL: https://issues.apache.org/jira/browse/CB-236
             Project: Apache Callback
          Issue Type: Bug
          Components: Android, iOS
    Affects Versions: 1.1.0
            Reporter: Shazron Abdullah
             Fix For: 1.6.0


Some servers require a ContentLength on POST requests.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CB-236) Add ContentLength Header in Upload request

Posted by "Shazron Abdullah (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shazron Abdullah updated CB-236:
--------------------------------

    Component/s:     (was: Android)
        Summary: Add ContentLength Header in Upload request  (was: CLONE - Add ContentLength Header in Upload request)
    
> Add ContentLength Header in Upload request
> ------------------------------------------
>
>                 Key: CB-236
>                 URL: https://issues.apache.org/jira/browse/CB-236
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 1.1.0
>            Reporter: Shazron Abdullah
>             Fix For: 1.6.0
>
>
> Some servers require a ContentLength on POST requests.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CB-236) Add ContentLength Header in Upload request

Posted by "Shazron Abdullah (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13201813#comment-13201813 ] 

Shazron Abdullah commented on CB-236:
-------------------------------------

Prob it's just this that we have to do:
https://github.com/apache/incubator-cordova-ios/blob/master/PhoneGapLib/Classes/FileTransfer.m#L135

{code}
   [postBody appendData:[[NSString stringWithFormat:@"Content-Length: %d\r\n\r\n", [fileData length]] dataUsingEncoding:NSUTF8StringEncoding]];
{code}
                
> Add ContentLength Header in Upload request
> ------------------------------------------
>
>                 Key: CB-236
>                 URL: https://issues.apache.org/jira/browse/CB-236
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 1.1.0
>            Reporter: Shazron Abdullah
>             Fix For: 1.6.0
>
>
> Some servers require a ContentLength on POST requests.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CB-236) Add ContentLength Header in Upload request

Posted by "Shazron Abdullah (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13228065#comment-13228065 ] 

Shazron Abdullah commented on CB-236:
-------------------------------------

https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-ios.git;a=commit;h=9a94dde46348ffdad231e46e4008f90a999511e2

It should be mirrored on https://github.com/apache/incubator-cordova-ios soon (within a day)
                
> Add ContentLength Header in Upload request
> ------------------------------------------
>
>                 Key: CB-236
>                 URL: https://issues.apache.org/jira/browse/CB-236
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 1.1.0
>            Reporter: Shazron Abdullah
>            Assignee: Shazron Abdullah
>            Priority: Minor
>             Fix For: 1.6.0
>
>
> Some servers require a ContentLength on POST requests.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CB-236) Add ContentLength Header in Upload request

Posted by "Shazron Abdullah (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shazron Abdullah updated CB-236:
--------------------------------

    Priority: Minor  (was: Major)
    
> Add ContentLength Header in Upload request
> ------------------------------------------
>
>                 Key: CB-236
>                 URL: https://issues.apache.org/jira/browse/CB-236
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 1.1.0
>            Reporter: Shazron Abdullah
>            Priority: Minor
>             Fix For: 1.6.0
>
>
> Some servers require a ContentLength on POST requests.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CB-236) Add ContentLength Header in Upload request

Posted by "David Marques (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13228064#comment-13228064 ] 

David Marques commented on CB-236:
----------------------------------

Has this been fixed as resolved or duplicated?

If resolved, could you please point the commit-id with the fix?

Thanks,

David
                
> Add ContentLength Header in Upload request
> ------------------------------------------
>
>                 Key: CB-236
>                 URL: https://issues.apache.org/jira/browse/CB-236
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 1.1.0
>            Reporter: Shazron Abdullah
>            Assignee: Shazron Abdullah
>            Priority: Minor
>             Fix For: 1.6.0
>
>
> Some servers require a ContentLength on POST requests.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CB-236) Add ContentLength Header in Upload request

Posted by "Shazron Abdullah (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shazron Abdullah resolved CB-236.
---------------------------------

    Resolution: Fixed
      Assignee: Shazron Abdullah
    
> Add ContentLength Header in Upload request
> ------------------------------------------
>
>                 Key: CB-236
>                 URL: https://issues.apache.org/jira/browse/CB-236
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 1.1.0
>            Reporter: Shazron Abdullah
>            Assignee: Shazron Abdullah
>            Priority: Minor
>             Fix For: 1.6.0
>
>
> Some servers require a ContentLength on POST requests.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira