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
I'm trying to use the X-Ray SDK with the patch enabled for net/http, but instead of returning an HTTPResponse object it looks like it's returning an HTTP status code as an Integer.
Here's a snippet with the unpatched net/http library:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="https://aws.amazon.com/">here</a>.</p>
</body></html>
Here's a snippet with the patched net/http library:
I'm trying to use the X-Ray SDK with the patch enabled for
net/http
, but instead of returning anHTTPResponse
object it looks like it's returning an HTTP status code as anInteger
.Here's a snippet with the unpatched
net/http
library:Here's what is printed when running the snippet:
Here's a snippet with the patched
net/http
library:Here's what is printed when running the snippet:
The text was updated successfully, but these errors were encountered: