Commit ca6a3dd
docs(learn): correct the example code for Streaming Responses with Undici (#8327)
* parse JSON at the end of the stream and use status code from the response
Signed-off-by: NunoMCP <NunoMCP@users.noreply.github.com>
* Add log
Signed-off-by: NunoMCP <NunoMCP@users.noreply.github.com>
* Update apps/site/pages/en/learn/getting-started/fetch.md
Co-authored-by: Aviv Keller <me@aviv.sh>
Signed-off-by: NunoMCP <NunoMCP@users.noreply.github.com>
* make prettier happy
Signed-off-by: NunoMCP <NunoMCP@users.noreply.github.com>
* trigger build
---------
Signed-off-by: NunoMCP <NunoMCP@users.noreply.github.com>
Co-authored-by: Aviv Keller <me@aviv.sh>1 parent 835090e commit ca6a3dd
1 file changed
+7
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
| 138 | + | |
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
| 145 | + | |
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | | - | |
| 154 | + | |
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
160 | | - | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
161 | 163 | | |
162 | 164 | | |
163 | 165 | | |
164 | 166 | | |
165 | 167 | | |
166 | 168 | | |
167 | | - | |
168 | 169 | | |
169 | 170 | | |
170 | 171 | | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | 172 | | |
| 173 | + | |
176 | 174 | | |
177 | 175 | | |
178 | 176 | | |
179 | 177 | | |
180 | 178 | | |
181 | | - | |
182 | | - | |
183 | 179 | | |
184 | 180 | | |
185 | 181 | | |
| |||
0 commit comments