Skip to content

Instantly share code, notes, and snippets.

View Fisherworks's full-sized avatar

Fisherworks

View GitHub Profile
@TomasKulhanek
TomasKulhanek / README.md
Last active March 13, 2022 11:29
Python sample to download or upload into WEBDAV capable URL without authentication. Use West-Life Virtual Folder File picker or Upload-Dir picker component to generate temporary WEBDAV url for your account.

Description

Python sample to download or upload into WEBDAV capable URL without authentication. Use West-Life Virtual Folder File picker or Upload-Dir picker component to generate temporary WEBDAV url for your account.

Usage

testwebdav.py [PUT] [webdav url to dir] [filename]

Examples

python testwebdav.py https://portal.west-life.eu/webdav/1234 README.md
@TheWaWaR
TheWaWaR / flask_dump_request_response.py
Last active March 10, 2024 14:38
Flask dump request and response example
#!/usr/bin/env python
# coding: utf-8
import os
import sys
import json
import uuid
import tempfile
from flask import Flask, request, Response, g