Skip to content

Commit

Permalink
fix(streaming): properly writhe space and crlf
Browse files Browse the repository at this point in the history
  • Loading branch information
theseion committed Jun 4, 2022
1 parent 75d49b2 commit c998a30
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ writing
writeStatusOn: aStream
aStream nextPutAll: self httpVersion.
aStream
nextPut: $ ;
space;
nextPutAll: self status greaseString.
self message isNil ifFalse: [
aStream
nextPut: $ ;
space;
nextPutAll: self message ].
aStream crlf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*Zinc-Seaside-Pharo
crlf
self nextPutAll: String crlf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*Zinc-Seaside-Pharo
space
self nextPut: Character space asciiValue
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"name" : "ZdcAbstractSocketStream"
}

0 comments on commit c998a30

Please sign in to comment.