CFWS = (1*([FWS] comment) [FWS]) / FWS
(value)
| 1305 | return comment, value[1:] |
| 1306 | |
| 1307 | def get_cfws(value): |
| 1308 | """CFWS = (1*([FWS] comment) [FWS]) / FWS |
| 1309 | |
| 1310 | """ |
| 1311 | cfws = CFWSList() |
| 1312 | while value and value[0] in CFWS_LEADER: |
| 1313 | if value[0] in WSP: |
| 1314 | token, value = get_fws(value) |
| 1315 | else: |
| 1316 | token, value = get_comment(value) |
| 1317 | cfws.append(token) |
| 1318 | return cfws, value |
| 1319 | |
| 1320 | def get_quoted_string(value): |
| 1321 | """quoted-string = [CFWS] <bare-quoted-string> [CFWS] |
no test coverage detected
searching dependent graphs…