flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Greg Dove (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (FLEX-35271) [FlexJS] HTTPServer POST calls give client side errors
Date Wed, 01 Mar 2017 00:25:45 GMT

     [ https://issues.apache.org/jira/browse/FLEX-35271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Greg Dove resolved FLEX-35271.
------------------------------
       Resolution: Resolved
         Assignee: Justin Mclean  (was: Greg Dove)
    Fix Version/s: Apache FlexJS 0.8.0

Removed the code that was setting headers that are inconsistent with specs.
References:
1.https://fetch.spec.whatwg.org/#forbidden-header-name
2.https://www.w3.org/TR/2009/WD-XMLHttpRequest2-20090820/#the-setrequestheader-method

> [FlexJS] HTTPServer POST calls give client side errors
> ------------------------------------------------------
>
>                 Key: FLEX-35271
>                 URL: https://issues.apache.org/jira/browse/FLEX-35271
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: FlexJS
>    Affects Versions: Apache FlexJS 0.8.0
>            Reporter: Justin Mclean
>            Assignee: Justin Mclean
>             Fix For: Apache FlexJS 0.8.0
>
>
> Calling a HTTPServer via POST gives the following browser errors:
> Refused to set unsafe header "Content-length"
> org.apache.flex.net.HTTPService.send @ HTTPService.js:167
> Refused to set unsafe header "Connection"
> org.apache.flex.net.HTTPService.send @ HTTPService.js:168
> For why this is happening see for example [1]
> 1. http://stackoverflow.com/questions/7210507/ajax-post-error-refused-to-set-unsafe-header-connection



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message