-
hvelarde|busy joined the channel
-
_savage joined the channel
-
_savage
How do I return an empty response body? request.response.body = b"" still seems to return something.
-
Content-Length: 4
-
hvelarde|busy is now known as hvelarde|coffee
-
Sambom has quit
-
Sambom joined the channel
-
Dead_Thinker joined the channel
-
davi-lima joined the channel
-
return Response(status=201) seems to do it, but it also feels a little clumsy considering there is a response object already available for the request
-
and I can't set request.response.body=None
-
wiggy
return HTTPNoContent()
-
that's the official way to do it
-
Dead_Thinker
_savage: not sure if it helps, but in WebSauna (which is based on Pyramid), i use like request.response.status = 201
-
Maybe on vanila Pyramid is the same
-
_savage
Dead_Thinker: that sets the status, but still leaves a body
-
Dead_Thinker: I'd like to have no body
-
wiggy: And that goes for all response codes?
-
wiggy: except those with content, which need to go through the renderer?
-
wiggy
yes
-
mr_jolly has quit
-
Dead_Thinker
hum, ok
-
_savage
wiggy: using cornice though this generated an actual body
-
wiggy: which makes sense, considering it generates errors too so now success responses follow that same scheme
-
davi-lima has quit
-
davi-lima joined the channel
-
_savage has quit
-
chrisgeorge has quit
-
ra21vi joined the channel
-
amragaey joined the channel
-
hvelarde|coffee is now known as hvelarde
-
brokencycle has quit
-
ljosberinn has quit
-
amragaey has quit
-
ljosberinn joined the channel
-
wiggy has quit
-
amragaey joined the channel
-
rodfersou has quit
-
mr_jolly joined the channel
-
rodfersou joined the channel
-
driti joined the channel
-
rtopliffe joined the channel
-
zepolen joined the channel
-
zepolen has quit
-
davi-lima has quit
-
zepolen joined the channel
-
erasmas joined the channel
-
zepolen has quit
-
mastokley joined the channel
-
Dead_Thinker has quit
-
Dead_Thinker joined the channel
-
Dead_Thinker has quit
-
Dead_Thinker joined the channel
-
Ergo joined the channel
-
mds3 joined the channel
-
davisagli joined the channel
-
tiwula joined the channel
-
eatkin has quit
-
Method__
@moo-_- both, I guess. client side mainly.
-
x58
_savage: request.response.body = [b''] is the valid way to set an empty Response body
-
mejymejy joined the channel
-
Dead_Thinker has quit
-
Dead_Thinker joined the channel
-
mirko is now known as Guest15999
-
rodfersou is now known as rodfersou|lunch
-
Guest15999 is now known as fcracker79
-
sawdog joined the channel
-
supton joined the channel
-
fcracker79 has quit
-
aconrad joined the channel
-
Dead_Thinker has quit
-
Dead_Thinker joined the channel
-
rodfersou|lunch is now known as rodfersou
-
mr_jolly has quit
-
mr_jolly joined the channel
-
mr_jolly has quit
-
mr_jolly joined the channel
-
sawdog joined the channel
-
bind
good evening
-
x58
Morning :-)
-
sawdog has quit
-
bind
:D
-
sawdog joined the channel
-
sawdog joined the channel
-
antiTORTURE joined the channel
-
amragaey has quit
-
mr_jolly has quit
-
mr_jolly joined the channel
-
chrisrossi has quit
-
chrisrossi joined the channel
-
antiTORTURE has quit
-
Method__
figured I'd ask my question again, more people on I think. is there a way in Deform to dynamically add another field?
-
example, I want to provide 2 drop down fields, with the option to add another drop down field to the form
-
NotreDev joined the channel
-
cyphase joined the channel
-
sawdog joined the channel
-
sawdog joined the channel
-
mastokley joined the channel
-
sawdog has quit
-
MrTango has quit
-
sawdog joined the channel
-
sawdog joined the channel
-
rodfersou has quit
-
dima has quit
-
dima joined the channel
-
sawdog joined the channel
-
romerocesar joined the channel
-
sawdog joined the channel
-
rodfersou joined the channel
-
kamalgill joined the channel
-
sawdog joined the channel
-
romerocesar has quit
-
zepolen joined the channel
-
hvelarde has quit
-
amragaey joined the channel
-
zepolen has quit
-
cewing joined the channel
-
kamalgill has quit
-
yleclanche has quit
-
supton has quit
-
jhauser has quit
-
jhauser joined the channel
-
Dead_Thinker has quit
-
supton joined the channel
-
supton has quit
-
hvelarde joined the channel
-
supton joined the channel
-
sawdog has quit
-
sawdog joined the channel
-
romerocesar joined the channel
-
dstufft joined the channel
-
hvelarde has quit
-
sawdog has quit
-
sawdog joined the channel
-
cewing joined the channel
-
cewing has quit
-
cewing joined the channel
-
cewing joined the channel
-
mr_jolly has quit
-
rodfersou has quit
-
queso has quit
-
zepolen joined the channel
-
zepolen has quit
-
queso joined the channel
-
MrTango joined the channel
-
jhauser has quit
-
queso has quit
-
supton has quit
-
zepolen joined the channel
-
queso joined the channel