Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2013-11-05 10:26:57.472 MTGApp[3556:60b] I restkit.network:RKObjectRequestOperation.m:180 POST 'http://192.168.0.200:8080/MTGAppWS/webresources/Collection'
- 2013-11-05 10:26:57.701 MTGApp[3556:4a03] E restkit.network:RKObjectRequestOperation.m:576 Object request failed: Underlying HTTP request operation failed with error: Error Domain=org.restkit.RestKit.ErrorDomain Code=-1016 "Expected content type {(
- "application/x-www-form-urlencoded",
- "application/json"
- )}, got text/html" UserInfo=0x166a7650 {NSLocalizedRecoverySuggestion=<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>GlassFish Server Open Source Edition 3.1.1 - Error report</title><style type="text/css"><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 405 - Method Not Allowed</h1><hr/><p><b>type</b> Status report</p><p><b>message</b>Method Not Allowed</p><p><b>description</b>The specified HTTP method is not allowed for the requested resource (Method Not Allowed).</p><hr/><h3>GlassFish Server Open Source Edition 3.1.1</h3></body></html>, AFNetworkingOperationFailingURLRequestErrorKey=<NSMutableURLRequest: 0x1651f3a0> { URL: http://192.168.0.200:8080/MTGAppWS/webresources/Collection }, NSErrorFailingURLKey=http://192.168.0.200:8080/MTGAppWS/webresources/Collection, NSLocalizedDescription=Expected content type {(
- "application/x-www-form-urlencoded",
- "application/json"
- )}, got text/html, AFNetworkingOperationFailingURLResponseErrorKey=<NSHTTPURLResponse: 0x1651f3e0> { URL: http://192.168.0.200:8080/MTGAppWS/webresources/Collection } { status code: 405, headers {
- Allow = "OPTIONS,PUT";
- "Content-Length" = 1149;
- "Content-Type" = "text/html";
- Date = "Tue, 05 Nov 2013 12:26:58 GMT";
- "Proxy-Connection" = "Keep-alive";
- Server = "GlassFish Server Open Source Edition 3.1.1";
- "X-Powered-By" = "Servlet/3.0 JSP/2.2 (GlassFish Server Open Source Edition 3.1.1 Java/Oracle Corporation/1.7)";
- } }}
- 2013-11-05 10:26:57.728 MTGApp[3556:4a03] E restkit.network:RKObjectRequestOperation.m:243 POST 'http://192.168.0.200:8080/MTGAppWS/webresources/Collection' (405 Method Not Allowed / 0 objects) [request=0.2381s mapping=0.0000s total=0.2663s]: Error Domain=org.restkit.RestKit.ErrorDomain Code=-1016 "Expected content type {(
- "application/x-www-form-urlencoded",
- "application/json"
- )}, got text/html" UserInfo=0x166a7650 {NSLocalizedRecoverySuggestion=<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>GlassFish Server Open Source Edition 3.1.1 - Error report</title><style type="text/css"><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 405 - Method Not Allowed</h1><hr/><p><b>type</b> Status report</p><p><b>message</b>Method Not Allowed</p><p><b>description</b>The specified HTTP method is not allowed for the requested resource (Method Not Allowed).</p><hr/><h3>GlassFish Server Open Source Edition 3.1.1</h3></body></html>, AFNetworkingOperationFailingURLRequestErrorKey=<NSMutableURLRequest: 0x1651f3a0> { URL: http://192.168.0.200:8080/MTGAppWS/webresources/Collection }, NSErrorFailingURLKey=http://192.168.0.200:8080/MTGAppWS/webresources/Collection, NSLocalizedDescription=Expected content type {(
- "application/x-www-form-urlencoded",
- "application/json"
- )}, got text/html, AFNetworkingOperationFailingURLResponseErrorKey=<NSHTTPURLResponse: 0x1651f3e0> { URL: http://192.168.0.200:8080/MTGAppWS/webresources/Collection } { status code: 405, headers {
- Allow = "OPTIONS,PUT";
- "Content-Length" = 1149;
- "Content-Type" = "text/html";
- Date = "Tue, 05 Nov 2013 12:26:58 GMT";
- "Proxy-Connection" = "Keep-alive";
- Server = "GlassFish Server Open Source Edition 3.1.1";
- "X-Powered-By" = "Servlet/3.0 JSP/2.2 (GlassFish Server Open Source Edition 3.1.1 Java/Oracle Corporation/1.7)";
- } }}
Advertisement
Add Comment
Please, Sign In to add comment