programmation_http
Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
programmation_http [2010/01/22 12:19] – créée thierry | programmation_http [2010/09/24 14:32] (Version actuelle) – thierry | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
====== HTTP ====== | ====== HTTP ====== | ||
+ | |||
+ | Liens: | ||
+ | *http:// | ||
+ | *http:// | ||
+ | |||
Vu sous l' | Vu sous l' | ||
Ligne 19: | Ligne 24: | ||
$ echo -n -e "GET /\n" | nc thierry-jaouen.fr 80 | $ echo -n -e "GET /\n" | nc thierry-jaouen.fr 80 | ||
- | Changez d'" | ||
==== HTTP 1 ==== | ==== HTTP 1 ==== | ||
Ligne 42: | Ligne 46: | ||
===== host ===== | ===== host ===== | ||
+ | Changez d'" | ||
+ | |||
+ | Par exemple, on veut atteindre l' | ||
+ | $ echo -n -e "GET / HTTP/ | ||
+ | HTTP/1.1 302 Found | ||
+ | Date: Fri, 22 Jan 2010 12:21:28 GMT | ||
+ | Server: Apache/ | ||
+ | Location: http:// | ||
+ | Content-Length: | ||
+ | Connection: close | ||
+ | Content-Type: | ||
+ | | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | </ | ||
programmation_http.1264162791.txt.gz · Dernière modification : 2010/01/22 12:19 de thierry