aboutsummaryrefslogtreecommitdiff
path: root/src/httpserver.h
diff options
context:
space:
mode:
authorFilip Gospodinov <[email protected]>2020-02-18 08:29:35 +0100
committerFilip Gospodinov <[email protected]>2020-02-18 08:29:35 +0100
commitaff2748f8aee72f03b5fb6f6f97f0d0f66391755 (patch)
tree257f16f03f1ea0d4450c069468c1a583db927301 /src/httpserver.h
parentMerge #18037: Util: Allow scheduler to be mocked (diff)
downloaddiscoin-aff2748f8aee72f03b5fb6f6f97f0d0f66391755.tar.xz
discoin-aff2748f8aee72f03b5fb6f6f97f0d0f66391755.zip
httpserver: use own HTTP status codes
Before, macros defined in `<event2/http.h>` have been used for some HTTP status codes. `<event2/http.h>` is included implicitly and the usage of its status code macros is inconsistent with the majority HTTP response implementations in this file. Now, the `HTTPStatusCode` enum from `<rpc/protocol.h>` is consistently used for all HTTP response implementations.
Diffstat (limited to 'src/httpserver.h')
0 files changed, 0 insertions, 0 deletions