diff options
author | Erlang/OTP <[email protected]> | 2017-11-09 16:15:41 +0100 |
---|---|---|
committer | Erlang/OTP <[email protected]> | 2017-11-09 16:15:41 +0100 |
commit | cb3387d9486ed3d8572993cd0e355718026be061 (patch) | |
tree | 5e642a19077addae7131d445c378cb5bcdf168c9 /lib/inets/src/http_server/httpd_example.erl | |
parent | 8ceee73b703976cdc09687b4c0efcf2c490c3954 (diff) | |
parent | 07bfe477c0a06fbd7df5e216a7c072594fd17e4d (diff) | |
download | otp-cb3387d9486ed3d8572993cd0e355718026be061.tar.gz otp-cb3387d9486ed3d8572993cd0e355718026be061.tar.bz2 otp-cb3387d9486ed3d8572993cd0e355718026be061.zip |
Merge branch 'ingela/inets/fix-location/OTP-14761' into maint-20
* ingela/inets/fix-location/OTP-14761:
inets: Prepare for release
inets: Add missing guard
Diffstat (limited to 'lib/inets/src/http_server/httpd_example.erl')
-rw-r--r-- | lib/inets/src/http_server/httpd_example.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/inets/src/http_server/httpd_example.erl b/lib/inets/src/http_server/httpd_example.erl index adbbf64685..47a8c48d01 100644 --- a/lib/inets/src/http_server/httpd_example.erl +++ b/lib/inets/src/http_server/httpd_example.erl @@ -91,7 +91,7 @@ yahoo(_Env,_Input) -> "Location: http://www.yahoo.com\r\n\r\n". new_status_and_location(_Env,_Input) -> - "status:201\r\n Location: http://www.yahoo.com\r\n\r\n". + "status:201 Created\r\n Location: http://www.yahoo.com\r\n\r\n". default(Env,Input) -> [header(), |