summary refs log tree commit diff stats
path: root/http.go
Commit message (Collapse)AuthorAgeFilesLines
* removed extraneous commentsBen Morrison2019-05-271-4/+0
|
* simplified indexHandler to reference staticCacheBen Morrison2019-05-261-2/+3
| | | | sending ETag with all GET responses: sha256 of raw bytes
* checking for X-Real-IP header sometimes used by nginx when forwarding ↵Ben Morrison2019-05-251-1/+7
| | | | requests to getwtxt
* checking for X-Forwarded-For header when adding user IP to contextBen Morrison2019-05-241-1/+9
|
* tuning query handlingBen Morrison2019-05-221-2/+2
|
* fixed http 400 response and testBen Morrison2019-05-211-1/+2
|
* runtime bugs re: http400 and database reading on startupBen Morrison2019-05-211-2/+1
|
* fleshed out POST handler, added remote registry listBen Morrison2019-05-211-2/+4
|
* apiEndpointHandler returning all users/statuses/mentions if no query presentBen Morrison2019-05-211-0/+6
|
* renamed files for clarityBen Morrison2019-05-201-182/+33
|
* streamlined error handling and misc minor fixesBen Morrison2019-05-201-75/+63
|
* error handling after http.Request.ParseForm()Ben Morrison2019-05-201-2/+7
|
* endpoint query function addedBen Morrison2019-05-201-5/+6
|
* middleware func to attach remote ip to contextBen Morrison2019-05-201-0/+215