flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Mclean (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-33222) All HTTP GET requests are stripped of headers.
Date Tue, 02 Apr 2013 08:43:15 GMT

    [ https://issues.apache.org/jira/browse/FLEX-33222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13619625#comment-13619625

Justin Mclean commented on FLEX-33222:

Unable to reproduce. 

This code will send a POST request not a GET request.

<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" 
			   xmlns:mx="library://ns.adobe.com/flex/mx" creationComplete="init(event)">
			import mx.events.FlexEvent;
			protected function init(event:FlexEvent):void

		<s:HTTPService id="request" contentType="application/xml" url="http://www.google.com"
method="POST" />

The only code I could find in the SDK changes a GET to a POST not the other way about (in

        if (ctype == CONTENT_TYPE_XML && message.method == HTTPRequestMessage.GET_METHOD)
            message.method = HTTPRequestMessage.POST_METHOD;

Can you provide same code that shows this issue?

> All HTTP GET requests are stripped of headers.
> ----------------------------------------------
>                 Key: FLEX-33222
>                 URL: https://issues.apache.org/jira/browse/FLEX-33222
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: RPC: HTTPService
>    Affects Versions: Adobe Flex SDK 4.6 (Release)
>         Environment: iOS, Android and, Windows
>            Reporter: Andre Rezende
>            Priority: Critical
>              Labels: Android, GET, HTTPService,, POST,, iOS,
> All HTTP GET requests that have content type other than "application/x-www-form-urlencoded"
are turned into POST requests.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message