Skip to content

Commit

Permalink
added 501_ERROR_STRING - '501 Not Implemented Error' to handle not im…
Browse files Browse the repository at this point in the history
…plemented query
  • Loading branch information
kaiwenho committed Aug 5, 2024
1 parent 1273a00 commit 9ca670e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions medikanren2/neo/neo-server/neo-server.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

(define DEFAULT_PORT 8384)

(define NEO_SERVER_VERSION "1.51")
(define NEO_SERVER_VERSION "1.52")

;; Maximum number of results to be returned from *each individual* KP,
;; or from mediKanren itself.
Expand Down Expand Up @@ -113,6 +113,7 @@
(define 200_OK_STRING "200 OK")
(define 408_ERROR_STRING "408 Request Timeout")
(define 500_ERROR_STRING "500 Internal Server Error")
(define 501_ERROR_STRING "501 Not Implemented Error")

(define-runtime-path path:root ".")
(define (path/root relative-path) (build-path path:root relative-path))
Expand Down Expand Up @@ -1947,7 +1948,7 @@

(list
'json
200_OK_STRING
501_ERROR_STRING
trapi-response)
))

Expand Down Expand Up @@ -1989,7 +1990,7 @@

(list
'json
200_OK_STRING
501_ERROR_STRING
trapi-response)
))

Expand Down

0 comments on commit 9ca670e

Please sign in to comment.