You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
does not work.
When I do:
curl -k https://localhost:8888
Warning: Binary output can mess up your terminal. Use "--output -" to tell
Warning: curl to output it to your terminal anyway, or consider "--output
Warning: " to save to a file
But if I do this:
#include <kore/kore.h>
#include <kore/http.h>
this:
#include <kore/kore.h>
#include <kore/http.h>
int page(struct http_request *);
int
page(struct http_request *req)
{
http_response(req, 200, "Hello World", 12);
return (KORE_RESULT_OK);
}
does not work.
When I do:
curl -k https://localhost:8888
Warning: Binary output can mess up your terminal. Use "--output -" to tell
Warning: curl to output it to your terminal anyway, or consider "--output
Warning: " to save to a file
But if I do this:
#include <kore/kore.h>
#include <kore/http.h>
int page(struct http_request *);
int
page(struct http_request *req)
{
http_response(req, 200, "Hello World", 11);
return (KORE_RESULT_OK);
}
Change at size of Hello World ( I guess this is because SSL termination with \n or similar)
It works fine.
The text was updated successfully, but these errors were encountered: