(self, to, inner_path, timeout=300)
| 698 | |
| 699 | @flag.async_run |
| 700 | def actionFileNeed(self, to, inner_path, timeout=300): |
| 701 | try: |
| 702 | with gevent.Timeout(timeout): |
| 703 | self.site.needFile(inner_path, priority=6) |
| 704 | except (Exception, gevent.Timeout) as err: |
| 705 | return self.response(to, {"error": Debug.formatExceptionMessage(err)}) |
| 706 | return self.response(to, "ok") |
| 707 | |
| 708 | def actionFileRules(self, to, inner_path, use_my_cert=False, content=None): |
| 709 | if not content: # No content defined by function call |