Created
October 29, 2014 09:31
-
-
Save joerupen/d23a03819237c1c49b18 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GET http://localhost:3000/ HTTP/1.1 | |
Host: localhost:3000 | |
Connection: keep-alive | |
Cache-Control: max-age=0 | |
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 | |
User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.111 Safari/537.36 | |
Accept-Encoding: gzip,deflate,sdch | |
Accept-Language: de-DE,de;q=0.8,en-US;q=0.6,en;q=0.4,da;q=0.2,fr;q=0.2,it;q=0.2 | |
Cookie: ring-session=560b48d5-92a0-4987-95c3-39fbb20b6402 | |
HTTP/1.1 200 OK | |
Date: Wed, 29 Oct 2014 09:30:25 GMT | |
X-Content-Type-Options: nosniff | |
X-Frame-Options: SAMEORIGIN | |
X-XSS-Protection: 1; mode=block | |
Content-Type: text/html;charset=UTF-8 | |
Content-Length: 491 | |
Server: Jetty(7.6.13.v20130916) | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
<title>Welcome to multiform</title> | |
</head> | |
<body> | |
<h1>Submit some special charactes</h1> | |
<form method="post" enctype="multipart/form-data" acceptcharset="UTF-8"> | |
<input type="text" placeholder="name" name="some-parameter" value="DFèéèéè" /> | |
<button type="submit" >test me</button> | |
</form> | |
<h1>This is what the server received:</h1> | |
<pre></pre> | |
</body> | |
</html> | |
POST http://localhost:3000/ HTTP/1.1 | |
Host: localhost:3000 | |
Connection: keep-alive | |
Content-Length: 157 | |
Cache-Control: max-age=0 | |
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 | |
Origin: http://localhost:3000 | |
User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.111 Safari/537.36 | |
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryenFChUHEd7qBO8tT | |
Referer: http://localhost:3000/ | |
Accept-Encoding: gzip,deflate | |
Accept-Language: de-DE,de;q=0.8,en-US;q=0.6,en;q=0.4,da;q=0.2,fr;q=0.2,it;q=0.2 | |
Cookie: ring-session=560b48d5-92a0-4987-95c3-39fbb20b6402 | |
------WebKitFormBoundaryenFChUHEd7qBO8tT | |
Content-Disposition: form-data; name="some-parameter" | |
DFèéèéè | |
------WebKitFormBoundaryenFChUHEd7qBO8tT-- | |
HTTP/1.1 200 OK | |
Date: Wed, 29 Oct 2014 09:30:40 GMT | |
X-Content-Type-Options: nosniff | |
X-Frame-Options: SAMEORIGIN | |
X-XSS-Protection: 1; mode=block | |
Content-Type: text/html;charset=UTF-8 | |
Content-Length: 543 | |
Server: Jetty(7.6.13.v20130916) | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
<title>Welcome to multiform</title> | |
</head> | |
<body> | |
<h1>Submit some special charactes</h1> | |
<form method="post" enctype="multipart/form-data" acceptcharset="UTF-8"> | |
<input type="text" placeholder="name" name="some-parameter" value="DFèéèéè" /> | |
<button type="submit" >test me</button> | |
</form> | |
<h1>This is what the server received:</h1> | |
<pre>{:some-parameter "DFèéèéè"}</pre> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment