(self, req, **kwargs)
| 839 | self._sockinfo = (host, port) |
| 840 | |
| 841 | def sr1(self, req, **kwargs): |
| 842 | if self.verb: |
| 843 | print(conf.color_theme.opening(">> %s" % req.summary())) |
| 844 | resp = self.sock.sr1( |
| 845 | HTTP() / req, |
| 846 | verbose=0, |
| 847 | **kwargs, |
| 848 | ) |
| 849 | if self.verb: |
| 850 | print(conf.color_theme.success("<< %s" % (resp and resp.summary()))) |
| 851 | return resp |
| 852 | |
| 853 | def request( |
| 854 | self, |