File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change 9
9
10
10
#define CRLF "\r\n"
11
11
12
- #define HTTP_RESPONSE_200_DUMMY \
13
- "" \
14
- "HTTP/1.1 200 OK" CRLF "Server: " KBUILD_MODNAME CRLF \
15
- "Content-Type: text/plain" CRLF "Content-Length: 8 " CRLF \
16
- "Connection: Close" CRLF CRLF "200 OK " CRLF
17
- #define HTTP_RESPONSE_200_KEEPALIVE_DUMMY \
18
- "" \
19
- "HTTP/1.1 200 OK" CRLF "Server: " KBUILD_MODNAME CRLF \
20
- "Content-Type: text/plain" CRLF "Content-Length: 8 " CRLF \
21
- "Connection: Keep-Alive" CRLF CRLF "200 OK " CRLF
12
+ #define HTTP_RESPONSE_200_DUMMY \
13
+ "" \
14
+ "HTTP/1.1 200 OK" CRLF "Server: " KBUILD_MODNAME CRLF \
15
+ "Content-Type: text/plain" CRLF "Content-Length: 12 " CRLF \
16
+ "Connection: Close" CRLF CRLF "Hello World! " CRLF
17
+ #define HTTP_RESPONSE_200_KEEPALIVE_DUMMY \
18
+ "" \
19
+ "HTTP/1.1 200 OK" CRLF "Server: " KBUILD_MODNAME CRLF \
20
+ "Content-Type: text/plain" CRLF "Content-Length: 12 " CRLF \
21
+ "Connection: Keep-Alive" CRLF CRLF "Hello World! " CRLF
22
22
#define HTTP_RESPONSE_501 \
23
23
"" \
24
24
"HTTP/1.1 501 Not Implemented" CRLF "Server: " KBUILD_MODNAME CRLF \
You can’t perform that action at this time.
0 commit comments