Skip to content

Add request.client_ip#2790

Merged
ahopkins merged 2 commits into
mainfrom
client_ip
Jul 13, 2023
Merged

Add request.client_ip#2790
ahopkins merged 2 commits into
mainfrom
client_ip

Conversation

@Tronic

@Tronic Tronic commented Jul 13, 2023

Copy link
Copy Markdown
Member

This has been on TODO forever. I think it is time to get it sorted out. The name client_ip matches what others are calling this (Caddy just implemented the same thing).

@Tronic Tronic requested a review from a team as a code owner July 13, 2023 13:48
@codecov

codecov Bot commented Jul 13, 2023

Copy link
Copy Markdown

Codecov Report

Patch coverage: 100.000% and project coverage change: +0.004 🎉

Comparison is base (dc3c4d1) 88.906% compared to head (ffffc7c) 88.911%.

❗ Current head ffffc7c differs from pull request most recent head 809e64a. Consider uploading reports for the commit 809e64a to get more accurate results

Additional details and impacted files
@@              Coverage Diff              @@
##              main     #2790       +/-   ##
=============================================
+ Coverage   88.906%   88.911%   +0.004%     
=============================================
  Files           92        92               
  Lines         7031      7034        +3     
  Branches      1195      1195               
=============================================
+ Hits          6251      6254        +3     
  Misses         534       534               
  Partials       246       246               
Impacted Files Coverage Δ
sanic/request/types.py 94.957% <100.000%> (+0.042%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@ahopkins ahopkins merged commit 31d7ba8 into main Jul 13, 2023
@ahopkins ahopkins deleted the client_ip branch July 13, 2023 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants