MCPcopy Create free account
hub / github.com/sqlmapproject/sqlmap / eat

Method eat

thirdparty/bottle/bottle.py:1171–1182  ·  view source on GitHub ↗
(self, chunk, base)

Source from the content-addressed store, hash-verified

1169 self.stopped = False
1170
1171 def eat(self, chunk, base):
1172 pos = self.eat_meth(chunk, base)
1173 if pos is None: return
1174 if self.eat_meth != self._eat_headers:
1175 if self.stopped:
1176 raise StopMarkupException()
1177 base = pos
1178 self.eat_meth = self._eat_headers
1179 return self.eat(chunk, base)
1180 # found headers section end, reset eater
1181 self.eat_meth = self._eat_first_crlf_or_last_hyphens
1182 return pos
1183
1184 def _eat_last_hyphen(self, chunk, base):
1185 chunk_start = chunk[base: base + 2]

Callers

nothing calls this directly

Calls 1

StopMarkupExceptionClass · 0.85

Tested by

no test coverage detected