We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This change can show request URL and response status code in debug output.
function constructResponseBody(request, response) { let responseBody = "<html><body>"; responseBody += "<h2>Request URL:</h2>"+request.method+" "+request.scheme+"//"+request.host+request.url+"<br>"; responseBody += "<h2>Response status code:</h2>"+response.status+"<br>"; responseBody += "<br>"; responseBody += "<h2>User location:</h2>"+request.userLocation.city+", "+request.userLocation.country+"<br>"; responseBody += "<br>"; responseBody += "<h2>Request Headers:</h2><br>";
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This change can show request URL and response status code in debug output.
The text was updated successfully, but these errors were encountered: