「Telnetからメソッドを発行」の版間の差分
ナビゲーションに移動
検索に移動
1行目: | 1行目: | ||
− | ==Telnetからメソッドを発行== | + | ==[[Telnetからメソッドを発行]]== |
====GET==== | ====GET==== | ||
>telnet localhost 8080 | >telnet localhost 8080 | ||
− | GET http://localhost:8080/ | + | GET http://localhost:8080/[[Cookie]]Test/cookie.test HTTP/1.1 |
← 改行 | ← 改行 | ||
← 改行 ↓レスポンス | ← 改行 ↓レスポンス | ||
− | HTTP/1.1 200 OK | + | [[HTTP]]/1.1 200 OK |
− | Server: Apache-Coyote/1.1 | + | Server: [[Apache]]-Coyote/1.1 |
− | Set-Cookie: my_name=yagi; Expires=Tue, 04-Mar-2008 01:09:34 GMT | + | Set-[[Cookie]]: my_name=yagi; Expires=Tue, 04-Mar-2008 01:09:34 GMT |
− | Set-Cookie: JSESSIONID=9A5DE963413D4C8CC0B5A8C78A7E1BCE; Path=/ | + | Set-[[Cookie]]: JSESSIONID=9A5DE963413D4C8CC0B5A8C78A7E1BCE; Path=/[[Cookie]]Test |
Transfer-Encoding: chunked | Transfer-Encoding: chunked | ||
Date: Tue, 04 Mar 2008 01:03:34 GMT | Date: Tue, 04 Mar 2008 01:03:34 GMT | ||
b7 | b7 | ||
− | <html><head></head><body><a href='/ | + | <html><head></head><body><a href='/[[Cookie]]Test/cookie.test;jsessionid=9A5DE963413D4C8CC0B5A8C78A7E1BCE'>reload</a><br>first access time : Tue Mar 04 10:03:34 JST 2008<br></body></html> |
0 | 0 |
2020年2月16日 (日) 04:33時点における最新版
Telnetからメソッドを発行
GET
>telnet localhost 8080 GET http://localhost:8080/CookieTest/cookie.test HTTP/1.1 ← 改行 ← 改行 ↓レスポンス HTTP/1.1 200 OK Server: Apache-Coyote/1.1 Set-Cookie: my_name=yagi; Expires=Tue, 04-Mar-2008 01:09:34 GMT Set-Cookie: JSESSIONID=9A5DE963413D4C8CC0B5A8C78A7E1BCE; Path=/CookieTest Transfer-Encoding: chunked Date: Tue, 04 Mar 2008 01:03:34 GMT b7 <html><head></head><body><a href='/CookieTest/cookie.test;jsessionid=9A5DE963413D4C8CC0B5A8C78A7E1BCE'>reload</a><br>first access time : Tue Mar 04 10:03:34 JST 2008<br></body></html> 0
© 2006 矢木浩人