You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 24, 2023. It is now read-only.
Its all about content negotiation - dealing with the Accept header properly.
Something like:
gserv.http{
get("/"){
contentType(["application/json", "text/json"]){
///parse JSON
}
contentType(["application/xml", "text/xml"]){
///parse XML
}
}
}