Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
SUBVERS export-subst
VERDATE export-subst
*.[ch] diff=cpp

*.http text eol=lf
9 changes: 4 additions & 5 deletions examples/errorfiles/400.http
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
HTTP/1.0 400 Bad request
Cache-Control: no-cache
Connection: close
Content-Type: text/html

HTTP/1.0 400 Bad request
Connection: close
Content-Type: text/html

<html><body><h1>400 Bad request</h1>
Your browser sent an invalid request.
</body></html>
Expand Down
9 changes: 4 additions & 5 deletions examples/errorfiles/403.http
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
HTTP/1.0 403 Forbidden
Cache-Control: no-cache
Connection: close
Content-Type: text/html

HTTP/1.0 403 Forbidden
Connection: close
Content-Type: text/html

<html><body><h1>403 Forbidden</h1>
Request forbidden by administrative rules.
</body></html>
Expand Down
9 changes: 4 additions & 5 deletions examples/errorfiles/408.http
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
HTTP/1.0 408 Request Time-out
Cache-Control: no-cache
Connection: close
Content-Type: text/html

HTTP/1.0 408 Request Time-out
Connection: close
Content-Type: text/html

<html><body><h1>408 Request Time-out</h1>
Your browser didn't send a complete request in time.
</body></html>
Expand Down
9 changes: 4 additions & 5 deletions examples/errorfiles/500.http
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
HTTP/1.0 500 Internal Server Error
Cache-Control: no-cache
Connection: close
Content-Type: text/html

HTTP/1.0 500 Internal Server Error
Connection: close
Content-Type: text/html

<html><body><h1>500 Internal Server Error</h1>
An internal server error occurred.
</body></html>
Expand Down
9 changes: 4 additions & 5 deletions examples/errorfiles/502.http
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
HTTP/1.0 502 Bad Gateway
Cache-Control: no-cache
Connection: close
Content-Type: text/html

HTTP/1.0 502 Bad Gateway
Connection: close
Content-Type: text/html

<html><body><h1>502 Bad Gateway</h1>
The server returned an invalid or incomplete response.
</body></html>
Expand Down
9 changes: 4 additions & 5 deletions examples/errorfiles/503.http
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
HTTP/1.0 503 Service Unavailable
Cache-Control: no-cache
Connection: close
Content-Type: text/html

HTTP/1.0 503 Service Unavailable
Connection: close
Content-Type: text/html

<html><body><h1>503 Service Unavailable</h1>
No server is available to handle this request.
</body></html>
Expand Down
9 changes: 4 additions & 5 deletions examples/errorfiles/504.http
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
HTTP/1.0 504 Gateway Time-out
Cache-Control: no-cache
Connection: close
Content-Type: text/html

HTTP/1.0 504 Gateway Time-out
Connection: close
Content-Type: text/html

<html><body><h1>504 Gateway Time-out</h1>
The server didn't respond in time.
</body></html>
Expand Down
11 changes: 5 additions & 6 deletions reg-tests/http-errorfiles/errors/400-1.http
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
HTTP/1.1 400 Bad request
Cache-Control: no-cache
Connection: close
Content-Type: text/html
x-err-type: errors-1

HTTP/1.1 400 Bad request
Connection: close
Content-Type: text/html
x-err-type: errors-1

<html><body><h1>400 Bad request</h1>
Your browser sent an invalid request.
</body></html>
11 changes: 5 additions & 6 deletions reg-tests/http-errorfiles/errors/400-2.http
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
HTTP/1.1 400 Bad request
Cache-Control: no-cache
Connection: close
Content-Type: text/html
x-err-type: errors-2

HTTP/1.1 400 Bad request
Connection: close
Content-Type: text/html
x-err-type: errors-2

<html><body><h1>400 Bad request</h1>
Your browser sent an invalid request.
</body></html>
11 changes: 5 additions & 6 deletions reg-tests/http-errorfiles/errors/400-3.http
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
HTTP/1.1 400 Bad request
Cache-Control: no-cache
Connection: close
Content-Type: text/html
x-err-type: errors-3

HTTP/1.1 400 Bad request
Connection: close
Content-Type: text/html
x-err-type: errors-3

<html><body><h1>400 Bad request</h1>
Your browser sent an invalid request.
</body></html>
11 changes: 5 additions & 6 deletions reg-tests/http-errorfiles/errors/400.http
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
HTTP/1.1 400 Bad request
Cache-Control: no-cache
Connection: close
Content-Type: text/html
x-err-type: default

HTTP/1.1 400 Bad request
Connection: close
Content-Type: text/html
x-err-type: default

<html><body><h1>400 Bad request</h1>
Your browser sent an invalid request.
</body></html>
11 changes: 5 additions & 6 deletions reg-tests/http-errorfiles/errors/403-1.http
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
HTTP/1.0 403 Forbidden
Cache-Control: no-cache
Connection: close
Content-Type: text/html
x-err-type: errors-1

HTTP/1.0 403 Forbidden
Connection: close
Content-Type: text/html
x-err-type: errors-1

<html><body><h1>403 Forbidden</h1>
Request forbidden by administrative rules.
</body></html>
11 changes: 5 additions & 6 deletions reg-tests/http-errorfiles/errors/403-2.http
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
HTTP/1.0 403 Forbidden
Cache-Control: no-cache
Connection: close
Content-Type: text/html
x-err-type: errors-2

HTTP/1.0 403 Forbidden
Connection: close
Content-Type: text/html
x-err-type: errors-2

<html><body><h1>403 Forbidden</h1>
Request forbidden by administrative rules.
</body></html>
11 changes: 5 additions & 6 deletions reg-tests/http-errorfiles/errors/403.http
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
HTTP/1.0 403 Forbidden
Cache-Control: no-cache
Connection: close
Content-Type: text/html
x-err-type: default

HTTP/1.0 403 Forbidden
Connection: close
Content-Type: text/html
x-err-type: default

<html><body><h1>403 Forbidden</h1>
Request forbidden by administrative rules.
</body></html>
11 changes: 5 additions & 6 deletions reg-tests/http-errorfiles/errors/404-1.http
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
HTTP/1.1 404 Not Found
Cache-Control: no-cache
Connection: close
Content-Type: text/html
x-err-type: errors-1

HTTP/1.1 404 Not Found
Connection: close
Content-Type: text/html
x-err-type: errors-1

<html><body><h1>404 Not Found</h1>
The resource could not be found.
</body></html>
11 changes: 5 additions & 6 deletions reg-tests/http-errorfiles/errors/404-2.http
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
HTTP/1.1 404 Not Found
Cache-Control: no-cache
Connection: close
Content-Type: text/html
x-err-type: errors-2

HTTP/1.1 404 Not Found
Connection: close
Content-Type: text/html
x-err-type: errors-2

<html><body><h1>404 Not Found</h1>
The resource could not be found.
</body></html>
11 changes: 5 additions & 6 deletions reg-tests/http-errorfiles/errors/404-3.http
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
HTTP/1.1 404 Not Found
Cache-Control: no-cache
Connection: close
Content-Type: text/html
x-err-type: errors-3

HTTP/1.1 404 Not Found
Connection: close
Content-Type: text/html
x-err-type: errors-3

<html><body><h1>404 Not Found</h1>
The resource could not be found.
</body></html>
11 changes: 5 additions & 6 deletions reg-tests/http-errorfiles/errors/404.http
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
HTTP/1.1 404 Not Found
Cache-Control: no-cache
Connection: close
Content-Type: text/html
x-err-type: default

HTTP/1.1 404 Not Found
Connection: close
Content-Type: text/html
x-err-type: default

<html><body><h1>404 Not Found</h1>
The resource could not be found.
</body></html>
11 changes: 5 additions & 6 deletions reg-tests/http-errorfiles/errors/500-1.http
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
HTTP/1.0 500 Internal Server Error
Cache-Control: no-cache
Connection: close
Content-Type: text/html
x-err-type: errors-1

HTTP/1.0 500 Internal Server Error
Connection: close
Content-Type: text/html
x-err-type: errors-1

<html><body><h1>500 Internal Server Error</h1>
An internal server error occurred.
</body></html>
11 changes: 5 additions & 6 deletions reg-tests/http-errorfiles/errors/500.http
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
HTTP/1.0 500 Internal Server Error
Cache-Control: no-cache
Connection: close
Content-Type: text/html
x-err-type: default

HTTP/1.0 500 Internal Server Error
Connection: close
Content-Type: text/html
x-err-type: default

<html><body><h1>500 Internal Server Error</h1>
An internal server error occurred.
</body></html>
Loading