Created
October 22, 2019 23:36
-
-
Save joewiz/68b4fbcd27dd808b1bb384b4afbc04b8 to your computer and use it in GitHub Desktop.
Display all HTTP request headers for the current request (eXist-db)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xquery version "3.1"; | |
array { | |
request:get-header-names() ! map { . : request:get-header(.) } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment