Skip to content

Commit

Permalink
Pass omit_default_port from request to response
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxwell Mburu authored and Maxwell Mburu committed Jan 18, 2023
1 parent b0be6ad commit 6b009a5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ doc
rdoc
pkg
Gemfile.lock
.idea
7 changes: 4 additions & 3 deletions lib/excon/response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,13 @@ def self.parse(socket, datum)
:body => String.new,
:cookies => [],
:host => datum[:host],
:scheme => datum[:scheme],
:method => datum[:method],
:scheme => datum[:scheme],
:method => datum[:method],
:headers => Excon::Headers.new,
:path => datum[:path],
:query => datum[:query],
:query => datum[:query],
:port => datum[:port],
:omit_default_port => datum[:omit_default_port],
:status => status,
:status_line => line,
:reason_phrase => reason_phrase
Expand Down

0 comments on commit 6b009a5

Please sign in to comment.