perun

Discuss perun static site generator
martinklepsch 2016-11-11T02:13:43.000182Z

@bhagany: great! :)

martinklepsch 2016-11-11T02:19:02.000183Z

@bhagany: what is it that will eventually use the content type? Is it purely for serving the file with boot-http? In that case I'm not sure if it's possible. Boot-http only ever looks at files on the classpath and content-type isn't stored in those files. You could store it in the fileset but the information that is contained in there isn't available by default outside boot tasks by default. You may find a solution using a custom handler but maybe it'd make sense to step back a bit and instead outline your motivation / what you're trying to achieve... :)

bhagany 2016-11-11T02:21:58.000184Z

heh, I just wanted to see if I could remove the file extensions

bhagany 2016-11-11T02:22:18.000185Z

I’ve been going down the custom handler route, wrapping the resources-handler from boot-http

bhagany 2016-11-11T02:22:56.000186Z

it’s not critical, so I won’t be too disappointed if it turns out not to be possible

bhagany 2016-11-11T03:37:08.000187Z

yup, the custom handler is workable

bhagany 2016-11-11T03:38:14.000188Z

I don’t think I’m going to do it, but this is mostly a learning exercise 🙂