File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -239,14 +239,10 @@ struct ByteReader[origin: Origin](Sized):
239239 self .read_pos += count
240240 return self ._inner[start : start + count]
241241
242- # NOTE : The following methods (read_until, read_word, read_line) are deprecated
243- # in favor of picohttpparser-based parsing in header.mojo. They are kept here
244- # for backward compatibility with other parts of the codebase that may still use them.
245242
246243 fn read_until (mut self , char : Byte) -> ByteView[origin]:
247244 """ Read bytes until a specific character is found.
248245
249- DEPRECATED: Consider using picohttpparser for HTTP parsing instead.
250246 """
251247 var start = self .read_pos
252248 for i in range (start, len (self ._inner)):
@@ -260,14 +256,12 @@ struct ByteReader[origin: Origin](Sized):
260256 fn read_word (mut self ) -> ByteView[origin]:
261257 """ Read bytes until whitespace is found.
262258
263- DEPRECATED: Consider using picohttpparser for HTTP parsing instead.
264259 """
265260 return self .read_until(BytesConstant.whitespace)
266261
267262 fn read_line (mut self ) -> ByteView[origin]:
268263 """ Read bytes until newline (CRLF or LF) is found.
269264
270- DEPRECATED: Consider using picohttpparser for HTTP parsing instead.
271265 """
272266 var start = self .read_pos
273267 for i in range (start, len (self ._inner)):
You can’t perform that action at this time.
0 commit comments