Josh Nichols
af67ced3b0
[ruby/net-http] Update lib/net/http.rb
...
@natematykiewicz's suggestion to avoid another string allocation
4a22c42338
Co-authored-by: Nate Matykiewicz <natematykiewicz@gmail.com>
2023-08-16 01:40:13 +00:00
Josh Nichols
ae68a8df58
[ruby/net-http] Update lib/net/http/response.rb
...
@natematykiewicz's suggestion to avoid a string allocation
925630f227
Co-authored-by: Nate Matykiewicz <natematykiewicz@gmail.com>
2023-08-16 01:40:12 +00:00
Josh Nichols
ea321a654d
[ruby/net-http] use +'' everywhere
...
1077427152
2023-08-16 01:40:11 +00:00
Josh Nichols
70da92cdf7
[ruby/net-http] Fix on 2.7
...
5194fd541e
2023-08-16 01:40:10 +00:00
Josh Nichols
4d21134f3f
[ruby/net-http] freeze rest of lib
...
455a74734a
2023-08-16 01:40:09 +00:00
Josh Nichols
4165ec91d8
[ruby/net-http] update net/http/response to be frozen string literal
...
dc3b4a75ca
2023-08-16 01:40:08 +00:00
Josh Nichols
2fbd8dca18
[ruby/net-http] turn on frozen strings for net/http/generic_request
...
b92ade088d
2023-08-16 01:40:08 +00:00
Josh Nichols
8d04260acd
[ruby/net-http] turn on frozen strings for net/http/header
...
a5203c9f92
2023-08-16 01:40:07 +00:00
Josh Nichols
0300ea5a6c
[ruby/net-http] Improve performance of HTTPHeader#content_type
...
In the existing implementation, `main_type` and `sub_type` would end up
being called multiple times potentially.
Instead of doing that, save the result so it can be re-used.
179976f7ea
2023-08-16 01:39:08 +00:00
Nobuyoshi Nakada
cfa6a892d0
Redirect to IO::NULL
for the portability
2023-05-05 18:52:36 +09:00
Hiroshi SHIBATA
bc0a7a641b
[ruby/net-http] typofix
...
4d31bde125
2023-03-31 03:47:56 +00:00
NAKAMURA Usaku
eedcd696a5
[ruby/net-http] Fix previous commit
...
1b276e2654
2023-03-31 03:22:41 +00:00
NAKAMURA Usaku
d8b8294c28
[ruby/net-http] Limit header length
...
c245f7f9c8
2023-03-31 03:22:40 +00:00
Burdette Lamar
2f19c5b7e0
[ruby/net-http] Enhanced RDoc for Net::HTTP
...
(https://github.com/ruby/net-http/pull/130 )
698e18cfc1
2023-03-08 19:47:49 +00:00
Hiroshi SHIBATA
030f39822a
[ruby/net-http] Re-apply
...
d22ca54904
after
testing
7ac7401a9c
2023-03-07 01:35:20 +00:00
Nobuyoshi Nakada
755c379d87
[ruby/net-http] Exclude git related files
...
2767df580d
2023-03-06 13:26:36 +00:00
Nobuyoshi Nakada
c8c3431b0a
[ruby/net-http] Read in binary mode to get rid of invalid byte sequence
...
38de3d17a7
2023-03-06 13:26:34 +00:00
Nobuyoshi Nakada
fd0a5659ca
[ruby/net-http] Test building packages
...
Also revert commit d22ca54904
"Replaced
non-ascii charactor. It fails version detection at `net-http.gemspec`."
fbeb247d93
2023-03-06 13:26:34 +00:00
Hiroshi SHIBATA
62e2b61607
Replaced non-ascii charactor. It fails version detection at net-http.gemspec
.
...
># Returns the X509 certificate chain for the session<E2><80><99>s socket peer.
2023-03-06 14:50:53 +09:00
Burdette Lamar
1b4c1492c1
[ruby/net-http] [DOC] What's Here for Net:HTTP
...
(https://github.com/ruby/net-http/pull/128 )
39e70f0f9b
2023-03-05 19:06:37 +00:00
Hiroshi SHIBATA
9cc0ac22f7
Update lib/net/http/status.rb
2023-02-28 14:29:57 +09:00
Hiroshi SHIBATA
db0a4c8923
Prefer to use File.foreach instead of IO.foreach
2023-02-27 18:49:18 +09:00
Burdette Lamar
6e6992e5db
[ruby/net-http] [DOC] Enhanced RDoc for Net::HTTP
...
(https://github.com/ruby/net-http/pull/127 )
07b2b88ef5
2023-02-26 13:37:15 +00:00
Burdette Lamar
05f016cdad
[ruby/net-http] [DOC] Enhanced RDoc for Net::HTTP
...
(https://github.com/ruby/net-http/pull/126 )
4700d0660b
2023-02-24 19:09:06 +00:00
Burdette Lamar
7c47c2617a
[ruby/net-http] [DOC] Enhanced RDoc for Net::HTTP
...
(https://github.com/ruby/net-http/pull/125 )
2ea20380fc
2023-02-23 16:51:58 +00:00
Burdette Lamar
4edb2a29f6
[ruby/net-http] [DOC] Enhanced RDoc for Net:HTTP
...
(https://github.com/ruby/net-http/pull/124 )
aaf26b21d6
2023-02-22 13:58:36 +00:00
Burdette Lamar
899fad907c
[ruby/net-http] [DOC] Enhanced RDoc for Net::HTTP
...
(https://github.com/ruby/net-http/pull/123 )
220ff3f741
2023-02-20 21:57:16 +00:00
Burdette Lamar
a49bc73e1f
[ruby/net-http] [DOC] Enhanced RDoc for Net::HTTP
...
(https://github.com/ruby/net-http/pull/122 )
06f79cda87
2023-02-16 21:52:10 +00:00
Burdette Lamar
847a0df058
[ruby/net-http] [DOC] Enhanced RDoc for Net::HTTP#get
...
(https://github.com/ruby/net-http/pull/121 )
51b9af1eed
2023-02-15 15:00:34 +00:00
Burdette Lamar
3c7d5ccdce
[ruby/net-http] [DOC] Enhanced RDoc for request headers
...
(https://github.com/ruby/net-http/pull/120 )
b4eb8a7932
2023-02-14 20:33:11 +00:00
BurdetteLamar
bc6e587e86
[ruby/net-http] Enhanced RDoc for Compression
...
cff88acd70
2023-02-13 13:04:33 +00:00
BurdetteLamar
2c7fe9c0a6
[ruby/net-http] Enhanced RDoc for Net::HTTP
...
e65a3d9f11
2023-02-07 16:01:04 +00:00
Burdette Lamar
a641f6422c
[ruby/net-http] [DOC] Reorganize doc for proxy server
...
(https://github.com/ruby/net-http/pull/117 )
f8b6b76cba
2023-02-07 14:53:38 +00:00
git
06195e7603
* remove trailing spaces. [ci skip]
2023-02-04 18:06:18 +00:00
Burdette Lamar
6db79aefec
[ruby/net-http] [DOC] Enhanced RDoc for Net::HTTP
...
(https://github.com/ruby/net-http/pull/116 )
22c0d34002
2023-02-04 18:06:06 +00:00
Burdette Lamar
faa4c2279a
[ruby/net-http] [DOC] Enhanced RDoc for write_timeout
...
(https://github.com/ruby/net-http/pull/115 )
6da39b0461
2023-02-03 14:33:53 +00:00
BurdetteLamar
3e5a77f1ae
[ruby/net-http] Remarks on inclusions
...
dfd060c583
2023-02-02 14:16:59 +00:00
Burdette Lamar
5a9e2f142d
[ruby/net-http] [DOC] Enhanced RDoc for HTTPGenericRequest
...
(https://github.com/ruby/net-http/pull/113 )
14c8405702
2023-02-02 14:03:19 +00:00
BurdetteLamar
3ebc80314c
[ruby/net-http] Redirection revision
...
9a4e2d3a2a
2023-01-31 21:01:04 +00:00
Burdette Lamar
d92289f633
[ruby/net-http] [DOC] Enhanced RDoc for Net::HTTP
...
(https://github.com/ruby/net-http/pull/110 )
b098caa5e4
2023-01-31 14:18:50 +00:00
Hiroshi SHIBATA
fe7d4eed25
Manually merged https://github.com/ruby/net-http/pull/106
...
Co-authored-by: Peter Zhu <peter@peterzhu.ca>
Co-authored-by: BurdetteLamar <burdettelamar@yahoo.com>
2023-01-31 13:14:05 +09:00
BurdetteLamar
8250b46794
[ruby/net-http] Correct doc error
...
dc006d8419
2023-01-28 21:41:15 +00:00
Burdette Lamar
401aa9ddd1
[ruby/net-http] [DOC] Header doc
...
(https://github.com/ruby/net-http/pull/104 )
3308362d9b
2023-01-19 18:58:40 +00:00
Burdette Lamar
308942920f
[ruby/net-http] [DOC] Enhanced RDoc for set_form
...
(https://github.com/ruby/net-http/pull/103 )
f6506ff889
2023-01-18 21:03:58 +00:00
BurdetteLamar
44b7fd8d4f
[ruby/net-http] Enhanced RDoc for HTTPHeader
...
6a282eccdd
2023-01-01 15:02:14 +00:00
BurdetteLamar
8f678d61a5
[ruby/net-http] Adding links to references
...
1c8151aaf3
2022-12-26 22:17:18 +00:00
Burdette Lamar
8c8645f578
[ruby/net-http] [DOC] Adding links to references
...
(https://github.com/ruby/net-http/pull/97 )
768115167a
2022-12-26 15:09:21 +09:00
BurdetteLamar
35aba09e7f
[ruby/net-http] Adding links to references
...
b85530e6b8
2022-12-26 15:09:21 +09:00
Hiroshi SHIBATA
cd6c7613f3
Apply the accidental commits again before Ruby 3.2.
...
Reverts the following commits:
eb8d4d7b51
edb83dc3a2
d40064d184
2022-12-26 12:07:42 +09:00
Hiroshi SHIBATA
eb8d4d7b51
Revert the additional changes from net-http-0.3.2
2022-12-23 19:36:43 +09:00