Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Icecast-Server
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
94
Issues
94
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
External Wiki
External Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xiph.Org
Icecast-Server
Commits
6656edac
Commit
6656edac
authored
Aug 15, 2018
by
Philipp Schafft
🦁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update: Added names for HTTP status codes 30x.
parent
ed78741e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
src/util.c
src/util.c
+8
-0
No files found.
src/util.c
View file @
6656edac
...
...
@@ -715,6 +715,14 @@ ssize_t util_http_build_header(char * out, size_t len, ssize_t offset,
case
200
:
statusmsg
=
"OK"
;
break
;
case
204
:
statusmsg
=
"No Content"
;
break
;
case
206
:
statusmsg
=
"Partial Content"
;
http_version
=
"1.1"
;
break
;
case
300
:
statusmsg
=
"Multiple Choices"
;
break
;
case
301
:
statusmsg
=
"Moved Permanently"
;
break
;
case
302
:
statusmsg
=
"Found"
;
break
;
case
303
:
statusmsg
=
"See Other"
;
break
;
case
304
:
statusmsg
=
"Not Modified"
;
break
;
case
305
:
statusmsg
=
"Use Proxy"
;
break
;
case
307
:
statusmsg
=
"Temporary Redirect"
;
break
;
case
308
:
statusmsg
=
"Permanent Redirect"
;
break
;
case
400
:
statusmsg
=
"Bad Request"
;
break
;
case
401
:
statusmsg
=
"Authentication Required"
;
break
;
case
403
:
statusmsg
=
"Forbidden"
;
break
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment