NaoyaFukuma / webserv

This is when you finally understand why a URL starts with HTTP
3 stars 0 forks source link

88 hostヘッダフィールドのportを無視してserver nameとのマッチングを行う #103

Closed tomofuji-dev closed 1 year ago

tomofuji-dev commented 1 year ago

GET localhost:8080などのケースで、curlやpostmanがhostヘッダフィールドにlocalhost:8080を入れるので、:以降の文字列を無視してマッチングを行うようにした