C.W.K.
Stream
Quiz · 5 questions

Raw HTTP — Building Without the SDK

httpx, OAuth, SSE parsing, custom adapters

Level 0Tokenizer
0 XP0/54 lessons0/10 achievements
0/120 XP to next level120 XP to go0% complete

Quiz

01When is going raw with httpx the right call?
Hint
Use when the SDK gets in the way, not before.
02Default httpx timeout is 5 seconds. For LLM streaming calls you should...
Hint
Reading takes long; connecting shouldn't.
03Raw streaming with httpx: which method gives you SSE frames line by line?
Hint
Iter, not read.
04Why is OAuth-vs-API-key a non-OpenAI concern?
Hint
Where the host is, not what the wire shape is.
05Adapter ABC design: how many methods should it expose?
Hint
Narrow at the boundary; rich downstream.
Spotted a bug or have feedback on this page?Report an Issue

Comments 0

🔔 Reply notifications (sign in)
Sign inPlease sign in to comment.

No comments yet — be the first.