aboutsummaryrefslogtreecommitdiffstats
path: root/lib/inets/src/http_server/httpd_example.erl
diff options
context:
space:
mode:
authorErlang/OTP <[email protected]>2017-11-09 16:15:41 +0100
committerErlang/OTP <[email protected]>2017-11-09 16:15:41 +0100
commitcb3387d9486ed3d8572993cd0e355718026be061 (patch)
tree5e642a19077addae7131d445c378cb5bcdf168c9 /lib/inets/src/http_server/httpd_example.erl
parent8ceee73b703976cdc09687b4c0efcf2c490c3954 (diff)
parent07bfe477c0a06fbd7df5e216a7c072594fd17e4d (diff)
downloadotp-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.erl2
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(),