barkster Posted May 3, 2007 Share Posted May 3, 2007 How can I view the header information that is being submitted by a page? I have a java applet that I developed and my headers are not correct and I'm trying to simulate an html upload So I figured the best way to do this is to build a page and submit it and somehow view what is being submitted. Here is the error I'm getting from my host. ==7f8f381c============================== Request: domain.com 67.76.232.000 - - [02/May/2007:14:07:40 -0500] "POST /uploader/upload.php HTTP/1.1 " 403 298 "-" "Mozilla/4.0 (Windows XP 5.1) Java/1.6.0-beta2" - "-" ---------------------------------------- POST /uploader/upload.php HTTP/1.1 Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 Cache-Control: no-cache Connection: Keep-Alive Content-length: 50270 Content-Type: multipart/form-data; boundary=****4353 Cookie: PHPSESSID=6c8c7492c7dcd810e7cbb2e53b3f02c4 Host: www.domain.com HTTP_REFERER: http://www.domain.com Pragma: no-cache User-Agent: Mozilla/4.0 (Windows XP 5.1) Java/1.6.0-beta2 mod_security-message: Access denied with code 403. Error processing request body: Multipart: invalid Co ntent-Disposition header (-10): form-data; name="userfile[]"; filename="C:\\DOCUME~1\\user\\LOCALS~1 \\Temp\\img142643.jpg [severity "EMERGENCY"] mod_security-action: 403 50270 --****4353 Content-Disposition: form-data; name="userfile[]"; filename="C:\DOCUME~1\user\LOCALS~1\Temp\img14264 3.jpg Content-Type: image/jpeg Content-Transfer-Encoding: binary BINARY INFORMATION FROM THE IMAGE INCLUDED HERE --****4353 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.