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
235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420