manual/javaGuide/main/xml/JavaXmlRequests.md

- https://github.com/garbagetown/playdocja/blob/2.2.0/documentation/2.2.0/manual/javaGuide/main/xml/JavaXmlRequests.md
```
--- /Users/garbagetown/Desktop/2.1.5/manual/javaGuide/main/xml/JavaXmlRequests.md	2013-09-19 22:53:02.000000000 +0900
+++ /Users/garbagetown/Desktop/2.2.0/manual/javaGuide/main/xml/JavaXmlRequests.md	2013-09-19 10:11:22.000000000 +0900
@@ -2,7 +2,7 @@
 
 ## Handling an XML request
 
-An XML request is an HTTP request using a valid XML payload as request body. It must specify the `text/xml` MIME type in its `Content-Type` header.
+An XML request is an HTTP request using a valid XML payload as request body. It must specify the `application/xml` or `text/xml` MIME type in its `Content-Type` header.
 
 By default, an action uses an **any content** body parser, which you can use to retrieve the body as XML (actually as a `org.w3c.Document`):
 
@@ -47,7 +47,7 @@
 
 '''
 curl 
-  --header "Content-type: text/xml" 
+  --header "Content-type: application/xml" 
   --request POST 
   --data '<name>Guillaume</name>' 
   http://localhost:9000/sayHello
@@ -88,10 +88,10 @@
 
 '''
 HTTP/1.1 200 OK
-Content-Type: text/xml; charset=utf-8
+Content-Type: application/xml; charset=utf-8
 Content-Length: 46
 
 <message status="OK">Hello Guillaume</message>
 '''
 
-> **Next:** [[Handling file upload | JavaFileUpload]]
\ No newline at end of file
+> **Next:** [[Handling file upload | JavaFileUpload]]

```