예제 #1
0
 def _parse_pairs():
     for key, val in _cookie_parse_impl(header):
         key = to_unicode(key, charset, errors, allow_none_charset=True)
         if not key:
             continue
         val = to_unicode(val, charset, errors, allow_none_charset=True)
         yield try_coerce_native(key), val
예제 #2
0
파일: http.py 프로젝트: brunoais/werkzeug
 def _parse_pairs():
     for key, val in _cookie_parse_impl(header):
         key = to_unicode(key, charset, errors, allow_none_charset=True)
         if not key:
             continue
         val = to_unicode(val, charset, errors, allow_none_charset=True)
         yield try_coerce_native(key), val
예제 #3
0
파일: cookies.py 프로젝트: pabloalba/anillo
 def _parse_pairs():
     for key, val in _cookie_parse_impl(header):
         key = to_unicode(key, charset, errors, allow_none_charset=True)
         val = to_unicode(val, charset, errors, allow_none_charset=True)
         yield key, {"value": val}
예제 #4
0
 def _parse_pairs():
     for key, val in _cookie_parse_impl(header):
         key = to_unicode(key, charset, errors, allow_none_charset=True)
         val = to_unicode(val, charset, errors, allow_none_charset=True)
         yield key, {"value": val}