netty5/codec-http/src/main/java/io/netty/handler/codec/http
Stephane Landelle d639f55764 Fix WebSocketClientHandshaker not generating correct handshake request when path is empty (#10095)
Motivation:

WebSocketClientHandshaker#upgradeUrl doesn't comperly compute relative url when path is empty and produces url such as `?access_token=foo` instead of `/?access_token=foo`.

Modifications:

* fix WebSocketClientHandshaker#upgradeUrl
* add tests for urls without path, with and without query

Result:

WebSocketClientHandshaker properly connects to url without path.
2020-03-10 15:20:12 +01:00
..
cookie Add testcase for internal used Comparator in ClientCookieEncoder (#9897) 2019-12-20 08:50:27 +01:00
cors Fix typos in javadocs (#9527) 2019-10-09 15:25:41 +02:00
multipart http multipart decode with chinese chars should work (#10089) 2020-03-06 10:34:44 +01:00
websocketx Fix WebSocketClientHandshaker not generating correct handshake request when path is empty (#10095) 2020-03-10 15:20:12 +01:00
CombinedHttpHeaders.java migrate java8: use lambda and method reference (#8781) 2019-01-29 14:06:05 +01:00
ComposedLastHttpContent.java Set result for decoded request and add test for #8721 (#8721) 2019-01-21 07:45:21 +01:00
DefaultFullHttpRequest.java migrate java8: use requireNonNull (#8840) 2019-02-04 10:32:25 +01:00
DefaultFullHttpResponse.java migrate java8: use requireNonNull (#8840) 2019-02-04 10:32:25 +01:00
DefaultHttpContent.java migrate java8: use requireNonNull (#8840) 2019-02-04 10:32:25 +01:00
DefaultHttpHeaders.java [DOC] Add CWE-113 warning to DefaultHttpHeaders constructor (#9646) 2019-10-10 20:47:50 +02:00
DefaultHttpMessage.java migrate java8: use requireNonNull (#8840) 2019-02-04 10:32:25 +01:00
DefaultHttpObject.java migrate java8: use requireNonNull (#8840) 2019-02-04 10:32:25 +01:00
DefaultHttpRequest.java migrate java8: use requireNonNull (#8840) 2019-02-04 10:32:25 +01:00
DefaultHttpResponse.java migrate java8: use requireNonNull (#8840) 2019-02-04 10:32:25 +01:00
DefaultLastHttpContent.java migrate java8: use lambda and method reference (#8781) 2019-01-29 14:06:05 +01:00
DelegatingChannelHandlerContext.java Remove the intermediate List from ByteToMessageDecoder (and sub-class… (#8626) 2019-12-16 21:00:32 +01:00
EmptyHttpHeaders.java Remove deprecated HttpHeaders sub classes and related classes (#8813) 2019-01-31 20:26:45 +01:00
FullHttpMessage.java Make retained derived buffers recyclable 2016-05-17 11:16:13 +02:00
FullHttpRequest.java Make retained derived buffers recyclable 2016-05-17 11:16:13 +02:00
FullHttpResponse.java Make retained derived buffers recyclable 2016-05-17 11:16:13 +02:00
HttpChunkedInput.java Fix possible NPE in HttpCunkedInput if wrapped ChunkedInput.readChunk(...) return null. 2016-06-17 06:27:04 +02:00
HttpClientCodec.java Remove the intermediate List from ByteToMessageDecoder (and sub-class… (#8626) 2019-12-16 21:00:32 +01:00
HttpClientUpgradeHandler.java Ensure the DefaultChannelHandlerContext is unlinked once removed (#9970) 2020-03-01 08:13:33 +01:00
HttpConstants.java [#4010] Correctly handle whitespaces in HttpPostMultipartRequestDecoder 2015-08-14 21:16:42 +02:00
HttpContent.java Make retained derived buffers recyclable 2016-05-17 11:16:13 +02:00
HttpContentCompressor.java #9867 fix confusing method parameter name (#9874) 2019-12-12 14:42:30 +01:00
HttpContentDecoder.java Remove the intermediate List from ByteToMessageDecoder (and sub-class… (#8626) 2019-12-16 21:00:32 +01:00
HttpContentDecompressor.java Ensure the same ByteBufAllocator is used in the EmbeddedChannel when compress / decompress. Related to [#5294] 2016-05-31 09:08:33 +02:00
HttpContentEncoder.java Remove the intermediate List from ByteToMessageDecoder (and sub-class… (#8626) 2019-12-16 21:00:32 +01:00
HttpExpectationFailedEvent.java HttpObjectAggregator doesn't check content-length header 2015-08-17 09:26:50 -07:00
HttpHeaderNames.java Immediate caching the strings wrapped to AsciiString 2017-08-15 06:22:14 +02:00
HttpHeaderValues.java Immediate caching the strings wrapped to AsciiString 2017-08-15 06:22:14 +02:00
HttpHeaders.java migrate java8: use requireNonNull (#8840) 2019-02-04 10:32:25 +01:00
HttpHeadersEncoder.java Use ByteBuf#writeShort/writeMedium instead of writeBytes 2017-07-10 14:37:41 +02:00
HttpMessage.java Fix typos in javadocs (#9527) 2019-10-09 15:25:41 +02:00
HttpMessageUtil.java Implement toString() for all HttpMessage implementations 2014-12-31 18:39:00 +09:00
HttpMethod.java migrate java8: use requireNonNull (#8840) 2019-02-04 10:32:25 +01:00
HttpObject.java Introduce MessageAggregator and DecoderResultProvider 2014-06-05 16:51:14 +09:00
HttpObjectAggregator.java Ensure the DefaultChannelHandlerContext is unlinked once removed (#9970) 2020-03-01 08:13:33 +01:00
HttpObjectDecoder.java More strict parsing of initial line / http headers (#10058) 2020-02-26 10:01:41 +01:00
HttpObjectEncoder.java Mention the HttpObjectEncoder's state in the message of the IllegalStateException (#7996) 2018-06-04 10:14:58 +02:00
HttpRequest.java Fix errors reported by javadoc 2015-12-27 08:36:45 +01:00
HttpRequestDecoder.java Remove the `maxChunkSize` parameter for HTTP codecs (#8671) 2018-12-20 07:37:51 +01:00
HttpRequestEncoder.java Only add / to uri if really needed. 2017-07-18 09:24:19 +02:00
HttpResponse.java Fix errors reported by javadoc 2015-12-27 08:36:45 +01:00
HttpResponseDecoder.java Remove the `maxChunkSize` parameter for HTTP codecs (#8671) 2018-12-20 07:37:51 +01:00
HttpResponseEncoder.java Correctly handle responses with status 205 and payload. (#7891) 2018-05-03 11:25:06 +02:00
HttpResponseStatus.java Update links to the latest HTTP/2 specifications (#9493) 2019-08-22 13:59:44 +02:00
HttpScheme.java Immediate caching the strings wrapped to AsciiString 2017-08-15 06:22:14 +02:00
HttpServerCodec.java Remove the intermediate List from ByteToMessageDecoder (and sub-class… (#8626) 2019-12-16 21:00:32 +01:00
HttpServerExpectContinueHandler.java Cleanup usage of Channel*Handler (#9959) 2020-01-20 17:47:17 -08:00
HttpServerKeepAliveHandler.java Merge ChannelInboundHandler and ChannelOutboundHandler into ChannelHa… (#8957) 2019-03-28 09:28:27 +00:00
HttpServerUpgradeHandler.java Ensure the DefaultChannelHandlerContext is unlinked once removed (#9970) 2020-03-01 08:13:33 +01:00
HttpStatusClass.java Immediate caching the strings wrapped to AsciiString 2017-08-15 06:22:14 +02:00
HttpUtil.java Fix typos in javadocs (#9527) 2019-10-09 15:25:41 +02:00
HttpVersion.java use checkPositive/checkPositiveOrZero (#8835) 2019-02-04 15:55:07 +01:00
LastHttpContent.java Make retained derived buffers recyclable 2016-05-17 11:16:13 +02:00
QueryStringDecoder.java Use array to buffer decoded query instead of ByteBuffer. (#9886) 2019-12-18 21:15:44 +01:00
QueryStringEncoder.java Separate out query string encoding for non-encoded strings. (#9887) 2019-12-20 08:51:26 +01:00
ReadOnlyHttpHeaders.java Java 8 migration: Use diamond operator (#8749) 2019-01-22 16:07:26 +01:00
package-info.java Remove apiviz tags - we are focusing on user guide instead and putting diagrams there 2013-02-14 12:09:16 -08:00