[jboss-jira] [JBoss JIRA] (AS7-2454) Content-Type Omitted from HTTP request to add deployment
Jason Greene (Updated) (JIRA)
jira-events at lists.jboss.org
Fri Nov 4 14:10:11 EDT 2011
[ https://issues.jboss.org/browse/AS7-2454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason Greene updated AS7-2454:
------------------------------
Fix Version/s: 7.1.0.CR1
(was: 7.1.0.Beta1)
Moving all non-critical issues to the CR. If you finish it before we release beta please correct the fix-for version.
Thanks
> Content-Type Omitted from HTTP request to add deployment
> --------------------------------------------------------
>
> Key: AS7-2454
> URL: https://issues.jboss.org/browse/AS7-2454
> Project: Application Server 7
> Issue Type: Bug
> Components: Console
> Affects Versions: 7.1.0.Alpha1
> Reporter: Darran Lofthouse
> Assignee: Darran Lofthouse
> Fix For: 7.1.0.CR1
>
>
> While attempting to deploy a war using the console the following message is sent: -
> {code}
> POST /management HTTP/1.1
> Host: localhost:9990
> User-Agent: Mozilla/5.0 (X11; Linux i686; rv:7.0.1) Gecko/20100101 Firefox/7.0.1
> Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
> Accept-Language: en-gb,en-us;q=0.7,en;q=0.3
> Accept-Encoding: gzip, deflate
> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
> Connection: keep-alive
> Content-Type: text/plain; charset=utf-8
> Referer: http://localhost:9990/console/App.html
> Content-Length: 202
> Pragma: no-cache
> Cache-Control: no-cache
> {"address":[{"deployment":"Cross.war"}],"operation":"add","runtime-name":"Cross.war","content":[{"hash":{"BYTES_VALUE":"2UgVrcmsy6irIWrPlGryiLL8xKs="}}],"name":"Cross.war"}
> {code}
> I am currently making some changes to the HTTP interface to prevent requests from specially constructed HTML FORMs so we are enforcing the Content-Type on the incoming request to either: -
> application/json or application/dmr-encoded
> Looking at the other requests from the console we seem to be preferring application/dmr-encoded so not sure if this is just an early operation not moved to dmr-encoded.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list