Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
RESTXQ
(edit)
Revision as of 16:19, 21 May 2018
1 byte removed
,
16:19, 21 May 2018
m
update custom response according to spec. Hopefully BaseX implemented it this way
declare %rest:path("") function page:error404() {
<rest:response>
<http:response status="404"
message
reason
="I was not found.">
<http:header name="Content-Language" value="en"/>
<http:header name="Content-Type" value="text/html; charset=utf-8"/>
Dannes Wessels
administrator, editor
1
edit
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Request account
Namespaces
Page
Discussion
Variants
Views
Read
Edit
View history
More
Search
Navigation
Main Page
Table of Contents
Recent Changes
Random Page
PDF Version
Tools
Special pages
Printable version