Skip to content

Commit

Permalink
Merge pull request #278 from mhcomm/dvl/quentin/http_request_add_info…
Browse files Browse the repository at this point in the history
…s_in_meta

add url meta info for HttpRequest node
  • Loading branch information
quentinql authored May 17, 2024
2 parents 61039b3 + 53fe5f5 commit 133dcb0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pypeman/contrib/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,7 @@ async def process(self, msg):
""" handles request """
resp = await self.handle_request(msg)
msg.meta["status_code"] = resp.status
msg.meta["url"] = str(resp.url)
resp_content = resp.content
if self.json:
try:
Expand Down

0 comments on commit 133dcb0

Please sign in to comment.