File: response.pxd

package info (click to toggle)
python-sfml 1.5.1.is.1.3%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,456 kB
  • ctags: 1,585
  • sloc: python: 5,747; cpp: 285; makefile: 147
file content (35 lines) | stat: -rw-r--r-- 813 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# pySFML - Python bindings for SFML
# Copyright 2012-2013, Jonathan De Wachter <dewachter.jonathan@gmail.com>
#
# This software is released under the LGPLv3 license.
# You should have received a copy of the GNU Lesser General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

cdef extern from "SFML/Graphics.hpp" namespace "sf::Http::Response":
	cdef enum Status:
		Ok
		Created
		Accepted
		NoContent
		ResetContent
		PartialContent
		MultipleChoices
		MovedPermanently
		MovedTemporarily
		NotModified
		BadRequest
		Unauthorized
		Forbidden
		NotFound
		RangeNotSatisfiable
		InternalServerError
		NotImplemented
		BadGateway
		ServiceNotAvailable
		GatewayTimeout
		VersionNotSupported
		InvalidResponse
		ConnectionFailed