Kenneth Barbour
|
b00c493206
|
added a ResponseParser
|
2020-07-03 12:35:02 -04:00 |
Kenneth Barbour
|
2d499714d5
|
added a comment
|
2019-10-03 12:53:44 -04:00 |
Kenneth Barbour
|
c7597ca4b1
|
Print::print needs a return value
|
2018-11-30 19:59:53 -05:00 |
Kenneth Barbour
|
5ec1da3bf0
|
initialze _next
|
2018-11-30 15:37:21 -05:00 |
Kenneth Barbour
|
e20c32a4fc
|
setMessage to nullptr should free memory
|
2018-11-29 21:48:14 -05:00 |
Kenneth Barbour
|
5f31638210
|
alloc'd one more byte
|
2018-11-29 21:16:55 -05:00 |
Kenneth Barbour
|
3c7997f1f7
|
initialized buffer in test and made room for null terminator
|
2018-11-29 21:09:11 -05:00 |
Kenneth Barbour
|
42b1566785
|
added assignment operator and const correctness
|
2018-11-29 14:16:44 -05:00 |
Kenneth Barbour
|
a2d06559f4
|
initialize buffer to empty
|
2018-11-29 11:24:25 -05:00 |
Kenneth Barbour
|
4525c4cbac
|
delete dynamically allocated buffer
|
2018-11-28 14:02:21 -05:00 |
Kenneth Barbour
|
ae9fa1a9e3
|
QueryString class
|
2018-11-27 16:26:40 -05:00 |
Kenneth Barbour
|
373d1d02ae
|
terminate string in buffer while parsing header value
|
2018-11-26 16:40:58 -05:00 |
Kenneth Barbour
|
0aa588aecf
|
Test for issue where POST requests time out
|
2018-11-26 14:49:12 -05:00 |
Kenneth Barbour
|
1f2ecdd365
|
Buffer needs flush() method
|
2018-11-24 18:46:53 -05:00 |
Kenneth Barbour
|
2ba1acc650
|
reset() cleans buffer
|
2018-11-21 21:51:52 -05:00 |
Kenneth Barbour
|
6ebd46210f
|
odd methods wont match routes ever
|
2018-11-21 21:51:52 -05:00 |
Kenneth Barbour
|
a00fcae67e
|
added HttpHeaders::in(...) method for checking lists and fixed a bug when searching header names
|
2018-11-21 21:51:52 -05:00 |
Kenneth Barbour
|
9c1e30ac37
|
get client from webkernel
|
2018-11-21 21:51:52 -05:00 |
Kenneth Barbour
|
466a5b2c3b
|
query string parsing utils
|
2018-11-21 21:51:52 -05:00 |
Kenneth Barbour
|
c0e91aff7e
|
some helpers for parsing query strings
|
2018-11-21 21:51:52 -05:00 |
Kenneth Barbour
|
6f3fcc7932
|
Fixed bug where method is wrong after a post request
|
2018-11-21 14:29:35 -05:00 |
Kenneth Barbour
|
a709b3ac0a
|
getUrl() and getMethod() is const
|
2018-10-09 16:22:29 -04:00 |
Kenneth Barbour
|
4db11a9318
|
Merge branch 'master' of https://github.com/kenbarbour/HttpServer
|
2018-04-29 10:22:21 -04:00 |
Kenneth Barbour
|
840ad38cf2
|
Merge branch 'docs'
|
2018-04-29 10:19:24 -04:00 |
Kenneth Barbour
|
ca00e020bd
|
added license
|
2018-04-28 10:15:34 -04:00 |
Kenneth Barbour
|
db0cd9769b
|
Usage documentation
|
2018-04-25 12:37:37 -04:00 |
Kenneth Barbour
|
ce0b154921
|
some basic examples that toggle the builtin ESP8266 LED
|
2018-04-16 21:01:19 -04:00 |
Kenneth Barbour
|
6b1dedc9a5
|
WebKernel::dispatch accepts a HttpResponse
|
2018-04-08 10:52:03 -04:00 |
Kenneth Barbour
|
d45bcc1378
|
Removed unused constructors for HttpResponse
|
2018-04-05 12:48:08 -04:00 |
Kenneth Barbour
|
10f957b7d6
|
added extra data to the buffer to ensure strings are overwritten properly
|
2018-04-05 10:30:09 -04:00 |
Kenneth Barbour
|
06a56b611d
|
Merge branch 'feature/kernel_lifecycle'
|
2018-04-04 12:53:48 -04:00 |
Kenneth Barbour
|
e08527dc25
|
WebKernel has an init handler that is called before dispatching a response
|
2018-04-04 12:51:07 -04:00 |
Kenneth Barbour
|
0b85064f15
|
WebKernel has a terminate handler that is called after dispatching and sending a response
|
2018-04-04 12:51:05 -04:00 |
Kenneth Barbour
|
43ccbf4a52
|
HttpResponse has a send() method and expects to be assigned a Stream containing the message
|
2018-04-04 12:50:14 -04:00 |
Kenneth Barbour
|
be794a9cd8
|
HttpResponse has a send() method and expects to be assigned a Stream containing the message
|
2018-04-04 12:22:03 -04:00 |
Kenneth Barbour
|
fd1019e1fa
|
handle 404 and 405 errors
|
2018-03-20 19:13:39 -04:00 |
Kenneth Barbour
|
ff3419a500
|
renamed getHttpVer to getHttpVersion for consistency
|
2018-03-20 19:13:39 -04:00 |
Kenneth Barbour
|
ab82e09798
|
Added httpver to response
|
2018-03-20 19:13:39 -04:00 |
Kenneth Barbour
|
3b38fe1ae5
|
added some debugging to webkernel and always yield()
|
2018-03-20 19:13:39 -04:00 |
Kenneth Barbour
|
d1f99c069c
|
Kernel/Parser handles sequential requests better
|
2018-03-20 19:13:37 -04:00 |
Kenneth Barbour
|
91440090b2
|
Response Buffer added to WebKernel
|
2018-03-20 19:13:32 -04:00 |
Kenneth Barbour
|
d5abc32e3c
|
WebKernel test
|
2018-03-20 19:13:28 -04:00 |
Kenneth Barbour
|
464add864d
|
Added # wildcard and handled urls containing query
|
2018-03-14 12:11:12 -04:00 |
Kenneth Barbour
|
9486a3af86
|
WebKernel class
|
2018-03-12 13:31:23 -04:00 |
Kenneth Barbour
|
fd45238d96
|
mock arduino needs some stdlib
|
2018-03-09 18:19:34 -05:00 |
Kenneth Barbour
|
387e56a7be
|
HttpRequest no longer responsible for parsing itself
|
2018-03-09 18:18:39 -05:00 |
Kenneth Barbour
|
a94184905c
|
HttpRequest message api and RequestParser message
|
2018-03-09 17:35:41 -05:00 |
Kenneth Barbour
|
c92d39ddb1
|
A RequestParser that builds a request from interrupted input from a Stream
|
2018-03-09 17:35:41 -05:00 |
Kenneth Barbour
|
2a6dd718f7
|
Mock WifiClient/Server classes and tests
|
2018-03-09 17:35:41 -05:00 |
Kenneth Barbour
|
53a6726d84
|
WebKernel class as a main library driver
|
2018-03-09 17:35:41 -05:00 |