Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Custom HTTP Method and Status

Abierto
#399 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
kotlin
Área
api

Línea de trabajo

Start by reading the Method enum shown in the issue and how Request accepts a method. Check whether the current API allows a custom method such as PROPFIND without changing the enum. Done means a request can be constructed with a custom HTTP method; the issue says custom statuses can already be constructed directly.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Hi, I try to use http4k for WebDAV.
It extends HTTP with some new methods and Statuses, for example the method PROPFIND.

Now the problem is I cannot construct a Request object with that method, because the Method in http4k only defines these methods:

enum class Method { GET, POST, PUT, DELETE, OPTIONS, TRACE, PATCH, PURGE, HEAD }

Which is correct of course, these are the http methods.

And I understand http4k is for http and not for WebDAV, but maybe there is some kind of workaround?

Version: 3.243.0

Edit: The status is no problem, I can just construct it myself: Status(207, "Multi-Status")

Lenguaje dominante
Kotlin
Estrellas
2.8k
Forks
282
Merge medio
5 d 3 h
PR fusionados (30 d)
5

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de http4k/http4k

Todos los issues de http4k/http4k

Issues similares

Más issues de Kotlin

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.